package com.ruoyi.erp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value="test_hr_oper")
public class HrOperLog implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "oper_id", type = IdType.AUTO)
	private Long operId;

	private String personId;

	private String personName;

	/**
	 * 操作状态（0正常 1异常）
	 */
	//@Excel(name = "状态", readConverterExp = "0=正常,1=异常")
	private Integer status;

	/**
	 * 错误消息
	 */
	//@Excel(name = "错误消息")
	private String errorMsg;

	/**
	 * 操作时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//@Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date operTime;
}
